package net.alpcontrol.bi.colligation.service;

import net.alpcontrol.bi.colligation.entity.VJkPzst;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.springframework.http.HttpRequest;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丛庆
 * @since 2020-09-28
 */
public interface IVJkPzstService extends IService<VJkPzst> {

    /**
      *  分页查询
      * @param bootStrapTable
      * @param vJkPzst
      * @return
      */
    IPage<VJkPzst> selectPage(Page<VJkPzst> page);

    /**
     * 根据月份、员工名称、公司(用于切换数据源)查询报销凭证
     * @param beginMonth
     * @param endMonth
     * @param companyId
     * @param empInitialList
     * @return
     */
    List<Map> listByMonthAndCompany(String beginMonth, String endMonth, String companyId,List empInitialList);
    /**
     * 根据月份、员工名称、公司(用于切换数据源)查询报销凭证
     * @param param
     * @return
     */
    List<Map> getInitialChargeByEmpAndMonth(Map param);

}
